import init_css from './init_css'
import init_other from './init_other'
import init_core from './init_core'
import VueRouter from 'vue-router'
import router from '../router'
import ElementUI from 'element-ui'
import Directives from '../lib/Directives'
import PluginLoading from '../lib/Plugin-loading'
import PluginToPage from '../lib/Plugin-toPage'
import Vant from 'vant'
import 'vant/lib/index.css'
import Api from '../lib/Http/Api'
import { Loading } from 'element-ui'
let loadingInstance = Loading.service()
import VueAwesomeSwiper from 'vue-awesome-swiper'
init_css()
init_other(
  ElementUI,
  Vant,
  VueRouter,
  Directives,
  Api,
  PluginLoading,
  PluginToPage,
  VueAwesomeSwiper
)
init_core({ router })
loadingInstance.close()
